<!doctype html>
<html lang="zh-cn" ng-app="index">
	<head>
		<meta charset="UTF-8">
		<title>西电项目平台</title>
		<meta name="viewport" content="width=device-width, initial-scale=1.0">
		<link rel="stylesheet" href="/css/bootstrap/bootstrap.min.css" />
		<link rel="stylesheet" href="/css/style.css" />
	</head>

	<body ng-controller="PageController">

		<!-- 导航栏组件 -->
		<nav class="navbar navbar-default navbar-fixed-top" role="navigation">
			<div class="container">
				<!-- 导航栏下拉按钮 -->
				<div class="navbar-header">
					<button type="button" class="navbar-toggle" data-toggle="collapse" data-target="#naviList">
						<span class="sr-only">Toggle navigation</span>
						<span class="icon-bar"></span>
						<span class="icon-bar"></span>
						<span class="icon-bar"></span>
					</button>
					<a class="navbar-brand" href="#" >西电项目平台</a>
				</div>

				<!-- 导航栏 -->
				<div class="collapse navbar-collapse" id="naviList" ng-controller="NaviController">
					<ul class="nav navbar-nav">
						<li>
							<a href="/project"><span class="glyphicon glyphicon-align-left"></span> 浏览项目</a>
						</li>
						<li>
							<a href="/project/create"><span class="glyphicon glyphicon-plus"></span> 创建项目</a>
						</li>
						<li>
							<a href="/user/create" ><span class="glyphicon glyphicon-user"></span> 注册</a>
						</li>
						<li>
							<a href="/user/login" ><span class="glyphicon glyphicon-user"></span> 登陆</a>
						</li>
					</ul>
				</div><!-- /.navbar-collapse -->
			</div>
		</nav>

		<!-- 主显示区域 -->
		<div class="container" ng-view></div>

		<!-- 要加载的脚本 -->
		<script src="/js/libs/jquery.min.js"></script>
		<script src="/js/libs/bootstrap.min.js"></script>
		<script src="/js/libs/angular.min.js"></script>
		<script src="/js/libs/angular-route.js"></script>
		<script src="/js/libs/angular-resource.js"></script>
		<script src="/js/service.js"></script>
		<script src="/js/index.js"></script>
	</body>
</html>
